Tag Link | [OS_Process->CloseWrite] | Category | OS Process |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.5 |
Change | New | Data Source | Any |
Output Type | None | Security | None |
Implementation | Sets | Lasso 8.5 |
[OS_Process->CloseWrite] closes the standard input of the native process. Some native processes will accept multiple writes and wait until the standard input has been closed before performing an action on the incoming data and returning a result. Once the standard input of a process has been closed there is no way to re
Var: 'myProcess' = (OS_Process: '/bin/cat');
$myProcess->(SetEncoding: 'iso-8859-1');
$myProcess->(Write: 'This is a test\n');
$myProcess->CloseWrite;
encode_html: $myProcess->ReadString;
$myProcess->Close;
No Parameters Required.
See the Lasso 8 Language Guide for examples of how to use this tag.